package com.hx.xiao.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hx.xiao.entity.Su;
import com.hx.xiao.entity.Users;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hx
 * @since 2024-03-21
 */
public interface IUsersService extends IService<Users> {

    Users getUserPhone(String phone);

    Users selectSuByid(Integer id);

    List<Users> findAll();
    int addPhone(Users users);

    int updateB(Users users);

    int deleteB(Integer id);

    Users findB(Integer id);

    Users findBy(String username ,String komh);
}
